package org.example.entity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-22  22:48
 * @Description: 班级角色实体类
 * @Version: 1.0
 */
public class ClassRole {
    private int classRoleId;
    private int classIdFk;
    private int userIdFk;
    private int positionTypeIdFk;
    private Date submitDate;
    private int status;

    @Override
    public String toString() {
        return "ClassRole{" +
                "classRoleId=" + classRoleId +
                ", classIdFk=" + classIdFk +
                ", userIdFk=" + userIdFk +
                ", positionTypeIdFk=" + positionTypeIdFk +
                ", submitDate=" + submitDate +
                ", status=" + status +
                '}';
    }

    public int getClassRoleId() {
        return classRoleId;
    }

    public void setClassRoleId(int classRoleId) {
        this.classRoleId = classRoleId;
    }

    public int getClassIdFk() {
        return classIdFk;
    }

    public void setClassIdFk(int classIdFk) {
        this.classIdFk = classIdFk;
    }

    public int getUserIdFk() {
        return userIdFk;
    }

    public void setUserIdFk(int userIdFk) {
        this.userIdFk = userIdFk;
    }

    public int getPositionTypeIdFk() {
        return positionTypeIdFk;
    }

    public void setPositionTypeIdFk(int positionTypeIdFk) {
        this.positionTypeIdFk = positionTypeIdFk;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ClassRole(){}

    public ClassRole(int classRoleId, int classIdFk, int userIdFk, int positionTypeIdFk, Date submitDate, int status) {
        this.classRoleId = classRoleId;
        this.classIdFk = classIdFk;
        this.userIdFk = userIdFk;
        this.positionTypeIdFk = positionTypeIdFk;
        this.submitDate = submitDate;
        this.status = status;
    }
}
